<html>

<body>
  <table border=0 cellSpacing=0 cellPadding=0 width="100%">
    <tr>
      <td colspan="6" align="center">应付账款账龄分析表</td>
    </tr>
    <tr>
      <td width="12%"><span style='font-size: 13'>当期余额</span></td>
      <td width="15%"><span style='font-size: 13'>{$data["balanceMoney"]}</span></td>
      <td width="12%"><span style='font-size: 13'></span></td>
      <td width="15%"><span style='font-size: 13'></span></td>
      <td width="12%"><span style='font-size: 13'>打印时间</span></td>
      <td><span style='font-size: 13'>{$data["printDT"]}</span></td>
    </tr>
    <tr>
      <td width="12%"><span style='font-size: 13'>账龄30天内</span></td>
      <td width="15%"><span style='font-size: 13'>{$data["money30"]}</span></td>
      <td width="12%"><span style='font-size: 13'></span></td>
      <td width="15%"><span style='font-size: 13'></span></td>
      <td width="12%"><span style='font-size: 13'>账龄30-60天</span></td>
      <td width="15%"><span style='font-size: 13'>{$data["money30to60"]}</span></td>
    </tr>
    <tr>
      <td width="12%"><span style='font-size: 13'>账龄60-90天</span></td>
      <td width="15%"><span style='font-size: 13'>{$data["money60to90"]}</span></td>
      <td width="12%"><span style='font-size: 13'></span></td>
      <td width="15%"><span style='font-size: 13'></span></td>
      <td width="12%"><span style='font-size: 13'>账龄大于90天</span></td>
      <td width="15%"><span style='font-size: 13'>{$data["money90"]}</span></td>
    </tr>
  </table>
  <br />
  <table border=1 cellSpacing=0 cellPadding=1 width="100%" style="border-collapse: collapse" bordercolor="#333333">
    <tr>
      <td>
        <div align="center" style='font-size: 13'>往来单位性质</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>往来单位编码</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>往来单位</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>当前余额</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>账龄30天内</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>账龄30-60天</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>账龄60-90天</div>
      </td>
      <td>
        <div align="center" style='font-size: 13'>账龄大于90天</div>
      </td>
    </tr>
    <foreach name="data['items']" item="v" key="i">
      <tr>
        <td>
          <div style='font-size: 13'>{$v["caType"]}</div>
        </td>
        <td>
          <div style='font-size: 13'>{$v["caCode"]}</div>
        </td>
        <td>
          <div style='font-size: 13'>{$v["caName"]}</div>
        </td>
        <td>
          <div align="right" style='font-size: 13'>{$v["balanceMoney"]}</div>
        </td>
        <td>
          <div align="right" style='font-size: 13'>{$v["money30"]}</div>
        </td>
        <td>
          <div align="right" style='font-size: 13'>{$v["money30to60"]}</div>
        </td>
        <td>
          <div align="right" style='font-size: 13'>{$v["money60to90"]}</div>
        </td>
        <td>
          <div align="right" style='font-size: 13'>{$v["money90"]}</div>
        </td>
      </tr>
    </foreach>
  </table>
</body>

</html>
